package com.yang.eduauth.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author yds
 * @since 2020-12-21
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="Permission对象", description="")
public class Permission implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.ID_WORKER_STR)
    private String id;

    private String name;

    @ApiModelProperty(value = "类型(M 目录 C 菜单 F 按钮)")
    private String type;

    private String pid;

    @ApiModelProperty(value = "访问路劲")
    private String path;

    @ApiModelProperty(value = "组建路径")
    private String component;

    private String redirect;

    private String icon;

    @ApiModelProperty(value = "是否启用 0启用 1关闭")
    private String status;

    @ApiModelProperty(value = "权限值")
    private String permissionValue;

    @ApiModelProperty(value = "是否外链")
    private String isFrame;

    private Integer orderNum;

    private String remark;

    @ApiModelProperty(value = "是否可见 0显示 1隐藏")
    private String visible;


}
